package logic

import (
	"context"

	"newwater/app/soil/cmd/rpc/internal/svc"
	"newwater/app/soil/cmd/rpc/pb"

	"github.com/tal-tech/go-zero/core/logx"
)

type UpdateSoilLogic struct {
	ctx    context.Context
	svcCtx *svc.ServiceContext
	logx.Logger
}

func NewUpdateSoilLogic(ctx context.Context, svcCtx *svc.ServiceContext) *UpdateSoilLogic {
	return &UpdateSoilLogic{
		ctx:    ctx,
		svcCtx: svcCtx,
		Logger: logx.WithContext(ctx),
	}
}

func (l *UpdateSoilLogic) UpdateSoil(in *pb.UseSoilBody) (*pb.SoilBody, error) {
	// todo: add your logic here and delete this line

	return &pb.SoilBody{}, nil
}
